<template>
    <div>
        <p class="title">财宝管理系统预览单</p>
        <ul class="detail">
            <li>单号：<span>JZ1231961315623</span></li>
            <li>桌号：<span>01</span></li>
            <li>开桌：<span>2099-09-06 11:06:35</span></li>
            <li>时常：<span>6小时26分钟</span></li>
            <li>计费规则：<span>按包场计费</span></li>
        </ul>
        <div class="thead">
            <p>消费项目</p>
            <p class="center">数量</p>
            <p class="right">金额</p>
        </div>
        <div class="tbody">
            <div>
                <p>计时</p>
                <p class="center"></p>
                <p class="right">1210元</p>
            </div>
            <div>
                <p>中华</p>
                <p class="center">1</p>
                <p class="right">1210元</p>
            </div>
        </div>
        <ul class="detail offerDetail">
            <li>应付：<span class="mar40">12元</span>实付：<span>12元</span></li>
            <li>支付方式：<span>余额</span></li>
            <li>结账时间：<span>2099-09-06 11:06:35</span></li>
            <li>备注：<span>6小时26分钟</span></li>

        </ul>
        <p class="tip">吉财宝管理系统</p>
        <div class="right">
            <el-button @click="cancel">取消</el-button>
            <el-button type="primary" @click="cancel">确认</el-button>
        </div>
    </div>
</template>

<script>
import dialogContent from './dialogContent'
export default {
    name: "",
    components: { dialogContent },
    data() {
        return {


        }
    },
    created() {

    },
    methods: {
        cancel() {
            this.$emit('update:close', false)
        },

    }
};
</script>
<style scoped rel="stylesheet/scss" lang="scss">
.title,
.tip {
    color: #CAAB62;
    font-size: 30px;
    text-align: center;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

.tip {
    font-size: 14px;
    padding: 20px 0;
}

.detail {
    border-bottom: 1px dashed #201D1B;
    margin: 20px 0 5px;
    padding-bottom: 8px;

    li {
        color: #9C9186;
        font-size: 14px;
        line-height: 25px;

        span {
            color: #201D1B;
        }
    }

    &.offerDetail {
        border-top: 1px dashed #201D1B;
        margin-top: 5px;
        padding-top: 10px;

        .mar40 {
            margin-right: 50px;
        }
    }
}

.thead,
.tbody {
    border-top: 1px dashed #201D1B;
    border-bottom: 1px dashed #201D1B;
    padding: 8px 0;
    margin-bottom: 5px;

    p {
        display: inline-block;
        color: #9C9186;
        font-size: 14px;
        width: calc(100% / 3);
    }
}

.tbody p {
    color: #201D1B;
    line-height: 25px;
}</style>
